# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.

from odoo import api, fields, models, _


class SbOrderBom(models.Model):
    _name = 'sb.order.bom'
    _description = 'Multi Boms'

    change_id = fields.Many2one('sb.order.internal.change', string='Internal Change')
    res_product = fields.Many2one('product.product', string='Belong Product')
    product_id = fields.Many2one('product.product', string='Product')
    boms = fields.Many2many('mrp.bom', string='Multi Boms')
    bom = fields.Many2one('mrp.bom')

